<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{CausaSolicitud.page1}" id="page1">
            <ui:html binding="#{CausaSolicitud.html1}" id="html1">
                <ui:head binding="#{CausaSolicitud.head1}" id="head1">
                    <ui:link binding="#{CausaSolicitud.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{CausaSolicitud.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{CausaSolicitud.form1}" id="form1">
                        <ui:table augmentTitle="false" binding="#{CausaSolicitud.table1}" clearSortButton="true" id="table1" lite="true" paginateButton="true"
                            paginationControls="true" sortPanelToggleButton="true" style="left: 48px; top: 288px; position: absolute; width: 575px"
                            title="Causa de Rechazo o Aprobacion para la Solicitud" width="575">
                            <script><![CDATA[
                            /* ----- Functions for Table Preferences Panel ----- */
                            /*
                            * Toggle the table preferences panel open or closed
                            */
                            function togglePreferencesPanel() {
                            var table = document.getElementById("form1:table1");
                            table.toggleTblePreferencesPanel();
                            }
                            /* ----- Functions for Filter Panel ----- */
                            /*
                            * Return true if the filter menu has actually changed,
                            * so the corresponding event should be allowed to continue.
                            */
                            function filterMenuChanged() {
                            var table = document.getElementById("form1:table1");
                            return table.filterMenuChanged();
                            }
                            /*
                            * Toggle the custom filter panel (if any) open or closed.
                            */
                            function toggleFilterPanel() {
                            var table = document.getElementById("form1:table1");
                            return table.toggleTableFilterPanel();
                            }
                            /* ----- Functions for Table Actions ----- */
                            /*
                            * Initialize all rows of the table when the state
                            * of selected rows changes.
                            */
                            function initAllRows() {
                            var table = document.getElementById("form1:table1");
                            table.initAllRows();
                            }
                            /*
                            * Set the selected state for the given row groups
                            * displayed in the table.  This functionality requires
                            * the 'selectId' of the tableColumn to be set.
                            *
                            * @param rowGroupId HTML element id of the tableRowGroup component
                            * @param selected Flag indicating whether components should be selected
                            */
                            function selectGroupRows(rowGroupId, selected) {
                            var table = document.getElementById("form1:table1");
                            table.selectGroupRows(rowGroupId, selected);
                            }
                            /*
                            * Disable all table actions if no rows have been selected.
                            */
                            function disableActions() {
                            // Determine whether any rows are currently selected
                            var table = document.getElementById("form1:table1");
                            var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
                            // Set disabled state for top actions
                            document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
                            // Set disabled state for bottom actions
                            document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
                            }]]></script>
                            <ui:tableRowGroup binding="#{CausaSolicitud.tableRowGroup1}" emptyDataMsg="Sin Registros" id="tableRowGroup1" rows="5"
                                sourceData="#{CausaSolicitud.sct0024DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{CausaSolicitud.tableColumn1}" headerText="Codigo de la Causa" id="tableColumn1" sort="SCT0024.CDGOCSA">
                                    <ui:staticText binding="#{CausaSolicitud.staticText1}" id="staticText1" text="#{currentRow.value['SCT0024.CDGOCSA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{CausaSolicitud.tableColumn2}" headerText="Descripcion" id="tableColumn2" sort="SCT0024.DSCRPCIONCSA">
                                    <ui:staticText binding="#{CausaSolicitud.staticText2}" id="staticText2" text="#{currentRow.value['SCT0024.DSCRPCIONCSA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{CausaSolicitud.tableColumn4}" id="tableColumn4">
                                    <ui:button action="#{CausaSolicitud.button5_action}" binding="#{CausaSolicitud.button5}" id="button5" mini="true"
                                        primary="true" text="Modificar"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{CausaSolicitud.tableColumn3}" id="tableColumn3">
                                    <ui:button action="#{CausaSolicitud.button1_action}" binding="#{CausaSolicitud.button1}" id="button1" mini="true"
                                        primary="true" text="Eliminar"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:button action="#{CausaSolicitud.button2_action}" binding="#{CausaSolicitud.button2}" id="button2" mini="true" primary="true"
                            style="left: 47px; top: 240px; position: absolute; width: 72px" text="Agregar &gt;"/>
                        <ui:messageGroup binding="#{CausaSolicitud.messageGroup1}" id="messageGroup1" showGlobalOnly="true" style="left: 408px; top: 120px; position: absolute; width: 310px"/>
                        <ui:button action="#{CausaSolicitud.botonCerrar_action}" binding="#{CausaSolicitud.botonCerrar}" id="botonCerrar" immediate="true"
                            mini="true" primary="true" style="left: 47px; top: 144px; position: absolute; width: 72px" text="Cerrar"/>
                        <ui:staticText binding="#{CausaSolicitud.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 48px; top: 192px; position: absolute" text="Causas de rechazo o aprobacion de solicitud"/>
                        <ui:alert binding="#{CausaSolicitud.alert1}" id="alert1" style="left: 672px; top: 384px; position: absolute; width: 166px"/>
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:directive.include file="encab1.jspf"/>
                        </div>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
    <ui:page binding="#{CausaSolicitud.page1}" id="page1"/>
    <ui:html binding="#{CausaSolicitud.html1}" id="html1"/>
    <ui:head binding="#{CausaSolicitud.head1}" id="head1"/>
    <ui:link binding="#{CausaSolicitud.link1}" id="link1"/>
    <ui:body binding="#{CausaSolicitud.body1}" id="body1"/>
    <ui:form binding="#{CausaSolicitud.form1}" id="form1">
        <ui:table binding="#{CausaSolicitud.table1}" id="table1"/>
        <ui:tableRowGroup binding="#{CausaSolicitud.tableRowGroup1}" id="tableRowGroup1"/>
        <ui:tableColumn binding="#{CausaSolicitud.tableColumn1}" id="tableColumn1"/>
        <ui:tableColumn binding="#{CausaSolicitud.tableColumn2}" id="tableColumn2"/>
        <ui:tableColumn binding="#{CausaSolicitud.tableColumn3}" id="tableColumn3"/>
        <ui:button binding="#{CausaSolicitud.button1}" id="button1"/>
        <ui:textField binding="#{CausaSolicitud.textField1}" id="textField1"/>
        <ui:textArea binding="#{CausaSolicitud.textArea1}" id="textArea1"/>
        <ui:message binding="#{CausaSolicitud.message1}" id="message1"/>
        <ui:message binding="#{CausaSolicitud.message2}" id="message2"/>
        <ui:button binding="#{CausaSolicitud.button2}" id="button2"/>
        <ui:button binding="#{CausaSolicitud.button3}" id="button3"/>
        <ui:button binding="#{CausaSolicitud.button4}" id="button4"/>
        <ui:messageGroup binding="#{CausaSolicitud.messageGroup1}" id="messageGroup1"/>
        <ui:staticText binding="#{CausaSolicitud.staticText1}" id="staticText1"/>
        <ui:button binding="#{CausaSolicitud.botonCerrar}" id="botonCerrar"/>
    </ui:form>
</jsp:root>
